class Customization < ActiveRecord::Base
   
  attr_accessible :name, :model, :numb_disks, :start_from_zero,
                  :disks_per_row, :disk_area, :numb_scheme, :disk_orientation, :image
    
     # validates :name, :presence => true
     # validates :model, :presence => true
    
    
    scope :search, lambda{|server_name, server_model|where(:name => server_name, :model => server_model)}
    scope :search_image, lambda{ |server_image|where(:image => server_image) }
end


